package com.zcf.pojo;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * 下注相关币
 * @author jj
 * @date 2019/11/12 9:05
 */
@Data
@TableName("zcf_money")
public class Money extends Model<Money> {
    @TableId(value = "id", type = IdType.AUTO)
    private  Long id;
    private  Integer money1;
    private  Integer money2;
    private  Integer money3;
    private  Integer money4;
    private  Integer money5;
    private  Integer money6;
    @TableField("room_grade")
    private  Integer roomGrade;
    @TableField("game_type")
    private  Integer gameType;
    private  Integer state;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
